package com.hdl.pojo;

/**
 * 枚举类名 SqlType
 * 描述 SQL语句类型
 *
 * @author hedonglin
 * @version 1.0
 * @date 2020/4/26 15:50
 */
public enum SqlType {
    /**
     * 增删改查标签枚举
     */
    SELECT("select", "查询"),
    INSERT("insert", "新增"),
    UPDATE("update", "修改"),
    DELETE("delete", "删除")
    ;

    private String code;
    private String desc;

    SqlType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
